/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package es.uned.controlador;

import java.applet.Applet;
import java.applet.AudioClip;

/**
 *
 * @author gabriel
 */
public class PacmanSound {
    
    
 public static final AudioClip INTRO = Applet.newAudioClip(PacmanSound.class.getResource(PacmanUtils.INTRO_SOUND));
 public static final AudioClip PICKUP_PELLET = Applet.newAudioClip(PacmanSound.class.getResource(PacmanUtils.PICKUP_PELLET_SOUND));
 public static final AudioClip PICKUP_POWER_PELLET = Applet.newAudioClip(PacmanSound.class.getResource(PacmanUtils.PICKUP_POWERPELLET_SOUND));
 public static final AudioClip PACMAN_DEATH = Applet.newAudioClip(PacmanSound.class.getResource(PacmanUtils.PACMAN_DEATH));
 public static final AudioClip PACMAN_EAT_GHOST = Applet.newAudioClip(PacmanSound.class.getResource(PacmanUtils.PACMAN_EAT_GHOST));
 public static final AudioClip PACMAN_CHOMP = Applet.newAudioClip(PacmanSound.class.getResource(PacmanUtils.PACMAN_CHOMP));
      

//    private AudioClip intro;
//    private AudioClip pickupPellet;
//    private AudioClip pickUpPowerPellet;
//    private AudioClip pacmanDeath;
//    private AudioClip pacmanEatGhost;    
//    private AudioClip pacmanChomp;
//
//    public PacmanSound() {
//        this.intro = Applet.newAudioClip(this.getClass().getResource(PacmanUtils.INTRO_SOUND));
//        this.pickupPellet = Applet.newAudioClip(this.getClass().getResource(PacmanUtils.PICKUP_PELLET_SOUND));
//        this.pickUpPowerPellet = Applet.newAudioClip(this.getClass().getResource(PacmanUtils.PICKUP_POWERPELLET_SOUND));
//        this.pacmanDeath = Applet.newAudioClip(this.getClass().getResource(PacmanUtils.PACMAN_DEATH));
//        this.pacmanEatGhost = Applet.newAudioClip(this.getClass().getResource(PacmanUtils.PACMAN_EAT_GHOST));
//        this.pacmanChomp = Applet.newAudioClip(this.getClass().getResource(PacmanUtils.PACMAN_CHOMP));
//        
//    }
//
//    public AudioClip getIntro() {
//        return intro;
//    }
//
//    public void setIntro(AudioClip intro) {
//        this.intro = intro;
//    }
//
//    public AudioClip getPickupPellet() {
//        return pickupPellet;
//    }
//
//    public void setPickupPellet(AudioClip pickupPellet) {
//        this.pickupPellet = pickupPellet;
//    }
//
//    public AudioClip getPickUpPowerPellet() {
//        return pickUpPowerPellet;
//    }
//
//    public void setPickUpPowerPellet(AudioClip pickUpPowerPellet) {
//        this.pickUpPowerPellet = pickUpPowerPellet;
//    }
//
//    public AudioClip getPacmanDeath() {
//        return pacmanDeath;
//    }
//
//    public void setPacmanDeath(AudioClip pacmanDeath) {
//        this.pacmanDeath = pacmanDeath;
//    }
//
//    public AudioClip getPacmanEatGhost() {
//        return pacmanEatGhost;
//    }
//
//    public void setPacmanEatGhost(AudioClip pacmanEatGhost) {
//        this.pacmanEatGhost = pacmanEatGhost;
//    }
//
//    public AudioClip getPacmanChomp() {
//        return pacmanChomp;
//    }
//
//    public void setPacmanChomp(AudioClip pacmanChomp) {
//        this.pacmanChomp = pacmanChomp;
//    }
    
    
    
    
    
    
    public static void main(String[] args){
//        PacmanSound pacmanSound = new PacmanSound(); 
//        pacmanSounºd.getPickUpPowerPellet().play();
//        pacmanSound.getPacmanChomp().play();
        PacmanSound.PACMAN_DEATH.play();
        
        
    }

}

 